import request from '@/utils/request'

// 根据考核用户ID查询评分记录
export function listByAssessUser(assessUserId) {
  return request({
    url: `/system/assessRecord/byAssessUser/${assessUserId}`,
    method: 'get'
  })
}

// 新增评分记录
export function addAssessRecord(data) {
  return request({
    url: '/system/assessRecord',
    method: 'post',
    data
  })
} 